<?php


namespace Demo\FactoryFunc;


class StdoutLoggerFactory implements LoggerFactory
{
    public function createLogger(): Logger
    {
        return new StdOutLogger();
    }
}